package com.frank;

import com.frank.entity.Color;
import org.springframework.beans.factory.FactoryBean;

/**
 * @Author: huweifeng
 * @Date: 2022/11/27
 * @Description:
 **/
public class ColorFactoryBean implements FactoryBean<Color> {
    @Override
    public Color getObject() throws Exception {
        return new Color();
    }

    @Override
    public Class<?> getObjectType() {
        return Color.class;
    }
}
